//
//  SLDebuger.h
//  Objective-C
//
//  Created by S_Line on 2018/8/31.
//  Copyright © 2018年 S_Line. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef id(^SLDebugClickAction)(void);

@interface SLDebuger : NSObject

+ (instancetype)sharedInstance;
- (void)showDebuger;
- (void)showDebugerWithPosition:(CGPoint)point;
- (void)hideBackView;
- (void)hideMenuView:(UIView *)subView;

@end

@interface SLDebugMenuItem : NSObject

@property (nonatomic, copy) NSString *menuTitle;
@property (nonatomic, copy) SLDebugClickAction action;

+ (instancetype)itemWithMenuTitle:(NSString *)menuTitle action:(SLDebugClickAction)action;

@end
